package com.csii.modules.online.diagram.service;

import java.util.List;
import java.util.Map;

import com.csii.modules.online.diagram.entity.ChartsData;
import com.csii.modules.online.diagram.entity.DiagramConfiguration;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csii.modules.online.diagram.entity.DiagramFieldConfiguration;

/**
 * @Description: 图表配置
 */
public interface IDiagramConfigurationService extends IService<DiagramConfiguration> {

	void add(DiagramConfiguration diagramConfiguration);

	void edit(DiagramConfiguration diagramConfiguration);

	void deleteById(String id);

	void deleteBatch(String ids);

	List selectBySql(String sql);

	ChartsData<Object, DiagramConfiguration, DiagramFieldConfiguration> getChartsData(String code);
}
